home *** CD-ROM | disk | FTP | other *** search
/ Network CD 2 / Network CD - Volume 2.iso / programs / internet / tcp / ftp / archie132.lha / archie-1.3.2 / src / pauthent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-19  |  839 b   |  46 lines

  1. /*
  2.  * Copyright (c) 1989, 1990, 1991 by the University of Washington
  3.  *
  4.  * For copying and distribution information, please see the file
  5.  * <copyright.h>.
  6.  */
  7.  
  8. #include <copyright.h>
  9.  
  10. #define PFSA_UNAUTHENTICATED        1
  11.  
  12. struct pfs_auth_info {
  13.     char            auth_type[100];
  14.     char            authenticator[250];
  15. };
  16.  
  17. typedef struct pfs_auth_info *PAUTH;
  18. typedef struct pfs_auth_info PAUTH_ST;
  19.  
  20. PAUTH get_pauth();
  21.  
  22. #ifndef VMS
  23. # ifndef IN_H
  24. #  include <netinet/in.h>
  25. #  define IN_H
  26. # endif
  27. #else
  28. # ifndef _ARCHIE_VMS
  29. #  include <vms.h>
  30. # endif
  31. #endif
  32.  
  33. struct client_info {
  34.     int                ainfo_type;
  35.     char            *auth_type;
  36.     char            *authenticator;
  37.     char            *userid;
  38.     short            port;
  39.     struct in_addr        haddr;
  40.     struct pfs_auth_info    *previous;
  41.     struct pfs_auth_info    *next;
  42. };
  43.  
  44. typedef struct client_info *CINFO;
  45. typedef struct client_info CINFO_ST;
  46.